//
//  LTError.h
//  LTIM
//
//  Created by 俊松何 on 2017/3/30.
//  Copyright © 2017年 俊松何. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LTError : NSObject

/**
 错误码
 */
@property(nonatomic,assign) NSInteger code;

/**
 错误描述
 */
@property(nonatomic,copy) NSString *errorDescription;


/**
 便利构造器

 @param Description   错误描述
 @param Code 错误code
 @return LTError
 */
+ (instancetype) errorWithDescription:(NSString *)Description
                                 code:(NSInteger)Code;

+ (instancetype) netWorkError;

@end
